require 'spec_helper'

describe <%= class_name %>Controller do
<% unless actions.empty? -%>

<% for action in actions -%>
  describe "on GET to <%= action %>" do
    subject do
      get :<%= action %>
    end

    it "should be successful" do
      should be_success
    end
  end

<% end -%>
<% end -%>
end
